package com.lagou.niancheng.lagouservicecode.ext;

import com.lagou.niancheng.lagou.service.common.CommonErrorCode;
import com.lagou.niancheng.lagou.service.common.EmailDTO;
import com.lagou.niancheng.lagou.service.common.Result;
import com.lagou.niancheng.lagou.service.common.ResultBuilder;

/**
 * com.lagou.niancheng.lagouservicecode.ext.ExtMailServiceImpl
 *
 * @author 大犬
 * @date 2020/6/29
 */

public class ExtMailServiceImpl implements ExtMailService {

    @Override
    public Result sendMail(EmailDTO emailDTO) {
        return ResultBuilder.toError(CommonErrorCode.REMOTE_REQUEST_ERROR, "fallback");
    }
}
